<script type="text/javascript" language="javascript" src="/gaf/js/common.js"></script>
<link rel="stylesheet" type="text/css" href="/gaf/css/base.css" />
<link rel="stylesheet" type="text/css" href="/gaf/css/common.css" />
<link rel="stylesheet" type="text/css" href="/gaf/css/table_def.css" />
<p><h4>景区管理/修改景区门票</h4></p>
<form action="/scenic/scenic/editticket">
<input type="hidden" id="tid" name="tid" value="<?php echo $this->ticket['tid'];?>">
<input type="hidden" id="sid" name="sid" value="<?php echo $this->ticket['sid'];?>">
<table>
		<tr><td>门票名称:<input type="text" id="name" name="name" value="<?php echo $this->ticket['name']?>">
		门票类型一:<select id="type" name="type">
			<option <?php if($this->ticket['type']==0) echo "selected";?> value="0">普通票</option>
			<option <?php if($this->ticket['type']==1) echo "selected";?> value="1">电子票</option>										
		</select>
		门票类型二:<select id="ptype" name="ptype">
			<option <?php if($this->ticket['ptype']==0) echo "selected";?> value="0">成人票</option>
			<option <?php if($this->ticket['ptype']==1) echo "selected";?> value="1">儿童票</option>
			<option <?php if($this->ticket['ptype']==2) echo "selected";?> value="2">老人票</option>	
			<option <?php if($this->ticket['ptype']==3) echo "selected";?> value="3">学生票</option>		
			<option <?php if($this->ticket['ptype']==4) echo "selected";?> value="4">军人票</option>									
		</select>
		</td></tr>
		<tr><td>
		是否旺季:<select id="season" name="season">
			<option <?php if($this->ticket['season']==0) echo "selected";?> value="0">淡季票</option>
			<option <?php if($this->ticket['season']==1) echo "selected";?> value="1">旺季票</option>									
		</select>
		</select>
		价格类型:<select id="pricetype" name="pricetype">
			<option <?php if($this->ticket['pricetype']==0) echo "selected";?> value="0">门市价</option>
			<option <?php if($this->ticket['pricetype']==1) echo "selected";?> value="1">会员价</option>
			<option <?php if($this->ticket['pricetype']==2) echo "selected";?> value="2">持卡价</option>									
		</select>
		</td></tr>
		<tr><td>
		是否推荐:<select id="recommend" name="recommend">
				<option <?php if($this->ticket['recommend']==0) echo "selected";?> value="0">不推荐</option>
				<option <?php if($this->ticket['recommend']==1) echo "selected";?> value="1">推荐</option>
		</select>
		</td></tr>
		<tr><td>
		门票原价:<input id="price" name="price" value="<?php echo $this->ticket['price']?>"></input>
		</td></tr>
		<tr><td>
		实际价格:<input id="realprice" name="realprice" value="<?php echo $this->ticket['realprice'];?>"></input>
		</td></tr>
		<tr><td>
		门票说明:<input id="memo" name="memo" value="<?php echo $this->ticket['memo']?>"></input>
	</table>
	<div >
		<p>门票详细说明:</p>
		<p><textarea  title="门票详细说明" id="memodetail" name="memodetail" style="overflow:scroll;height:120;width:450"><?php echo $this->ticket['memodetail'];?></textarea></p>
		<p><input type="submit" value="修改门票"></p>
</form>